<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>ADMIN</title>
    <link rel="stylesheet" href="./css/admin/base.css">
    <link rel="stylesheet" href="./lib/font-awesome/4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="./css/admin/app.css">
</head>

<body>
<div class="app">
    <div class="app-header">
        <div class="title">新潮广告发布系统</div>
        <div class="user">
            <span class="name"><i class="fa fa-user-o" aria-hidden="true"></i> admin</span>
            <ul>
                <li>
                    <a href="./login.html">退出</a>
                </li>
            </ul>
        </div>
    </div>
    <div class="app-container">
        <div class="app-aside">
            <div id="menu"></div>
            <div class="app-main">
                <!-- 初始页面地址 -->
                <iframe src="./发布管理-节目.html" frameborder="0"></iframe>
            </div>
        </div>
        <div class="app-main">
            <!-- 初始页面地址 -->
            <iframe src="./发布管理-节目.html" frameborder="0"></iframe>
        </div>
    </div>
</div>

<script src="lib/jquery.min.js"></script>
<script src="js/admin/index.js"></script>
<script src="js/menu.js"></script>
<script>
    // 菜单控件
    var menu = new Menu('#menu', {
        data: [{
            label: '发布管理',
            icon: 'fa fa-paper-plane',
            // 默认展开
            open: true,
            children: [{
                // 默认激活的
                active: true,
                label: '节目',
                url: "./发布管理-节目.html",
            }]
        },
            {
                label: '终端管理',
                icon: 'fa fa fa-desktop',
                children: [{
                    label: '终端',
                    url: "./终端-终端.html",
                }, {
                    label: 'apk',
                    url: "./终端-apk.html",
                }]
            },
        ],
    })
</script>
</body>

</html>